<template>
    <div>
        正在加载中。。。
    </div>
</template>

<script lang="ts" setup>
    import { useRoute,useRouter } from 'vue-router';
    const route = useRoute()
    const router = useRouter()
    const {params:{backpath}} = route

    setTimeout(()=>{
        router.replace(backpath as string) //重新跳转到原来的路由
    },300)
</script>